//package hsb.learn.common.config.security;
//
//import com.usthe.sureness.DefaultSurenessConfig;
//import com.usthe.sureness.matcher.DefaultPathRoleMatcher;
//import com.usthe.sureness.matcher.PathTreeProvider;
//import com.usthe.sureness.matcher.TreePathRoleMatcher;
//import com.usthe.sureness.mgt.SurenessSecurityManager;
//import com.usthe.sureness.provider.annotation.AnnotationPathTreeProvider;
//import com.usthe.sureness.provider.ducument.DocumentPathTreeProvider;
//import com.usthe.sureness.util.JsonWebTokenUtil;
//import io.quarkus.runtime.Startup;
//import org.springframework.context.annotation.Bean;
//
//import javax.annotation.PostConstruct;
//import javax.enterprise.context.ApplicationScoped;
//import java.util.Arrays;
//
///**
// * @author 胡帅博
// * @date 2023/1/2 14:12
// */
//@Startup
//@ApplicationScoped
//public class SurenessConfiguration {
//
//    /**
//     * init sureness default config
//     */
//
//    public SurenessConfiguration() {
//        new JwtSurenessConfig();
//
//        //JsonWebTokenUtil.setDefaultSecretKey("dfsf89f3GRGRG23EFEFE32323RRGRGRGR2W3239EGEGEGwf89w8efe");
//    }
//
//}